using System.Collections.Generic;
using UnityEngine;

[CreateAssetMenu(fileName = "Effect03-目标棋子自己加攻击力", menuName = "Skill/Effect/Effect03-给目标棋子加攻击力", order = 3)]
public class Effect03 : EffectBase
{
    public int buffCount;
    public override void Apply(Pair pair, GameEvent e, List<Chess> targets)
    {
        if(targets == null) return;
        foreach (var target in targets)
        {
            target.Buff(buffCount);
        }
    }
}